home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Dev / gcc263-src.lha / gcc-2.6.3 / config / i386 / config-nt.bat < prev    next >
DOS Batch File  |  1994-10-11  |  1KB  |  33 lines

  1. echo Configuring GCC for Windows NT on Intel x86
  2. rem This batch file assumes a unix-type "sed" program
  3.  
  4. copy config\i386\xm-winnt.h config.h
  5. copy config\i386\xm-winnt.h hconfig.h
  6. copy config\i386\xm-winnt.h tconfig.h
  7. copy config\i386\winnt.h tm.h
  8. copy config\i386\i386.md md
  9. copy config\i386\i386.c aux-output.c
  10.  
  11. rem This batch file assumes a unix-type "sed" program
  12.  
  13. echo # Makefile generated by "config-nt.bat"> Makefile
  14. echo all.nt: cccp.exe cc1.exe xgcc.exe ld-winnt.exe>> Makefile
  15. sed -f config/i386/config-nt.sed Makefile.in >> Makefile
  16.  
  17. set LANG=
  18.  
  19. if not exist cp\make-lang.in goto no_cp
  20. sed -f config/i386/config-nt.sed cp\make-lang.in >> Makefile
  21. sed -f config/i386/config-nt.sed cp\makefile.in > cp\Makefile
  22. set LANG=%LANG% c++.&    
  23. :no_cp
  24.  
  25. echo lang.mostlyclean: %LANG% | sed "s/&/mostlyclean/g" >> Makefile
  26. echo lang.clean: %LANG% | sed "s/&/clean/g" >> Makefile
  27. echo lang.distclean: %LANG% | sed "s/&/distclean/g" >> Makefile
  28. echo lang.realclean: %LANG% | sed "s/&/realclean/g" >> Makefile
  29.  
  30. echo #define MULTILIB_SELECT ". ;" > multilib.h1
  31. copy multilib.h1 multilib.h
  32. del multilib.h1
  33.